package com.ruoyi.app.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PictureInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PictureInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Long value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Long value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Long value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Long value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Long value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Long value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Long> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Long> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Long value1, Long value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Long value1, Long value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andPagePictureIsNull() {
            addCriterion("page_picture is null");
            return (Criteria) this;
        }

        public Criteria andPagePictureIsNotNull() {
            addCriterion("page_picture is not null");
            return (Criteria) this;
        }

        public Criteria andPagePictureEqualTo(String value) {
            addCriterion("page_picture =", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureNotEqualTo(String value) {
            addCriterion("page_picture <>", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureGreaterThan(String value) {
            addCriterion("page_picture >", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureGreaterThanOrEqualTo(String value) {
            addCriterion("page_picture >=", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureLessThan(String value) {
            addCriterion("page_picture <", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureLessThanOrEqualTo(String value) {
            addCriterion("page_picture <=", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureLike(String value) {
            addCriterion("page_picture like", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureNotLike(String value) {
            addCriterion("page_picture not like", value, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureIn(List<String> values) {
            addCriterion("page_picture in", values, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureNotIn(List<String> values) {
            addCriterion("page_picture not in", values, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureBetween(String value1, String value2) {
            addCriterion("page_picture between", value1, value2, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andPagePictureNotBetween(String value1, String value2) {
            addCriterion("page_picture not between", value1, value2, "pagePicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureIsNull() {
            addCriterion("details_picture is null");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureIsNotNull() {
            addCriterion("details_picture is not null");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureEqualTo(String value) {
            addCriterion("details_picture =", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureNotEqualTo(String value) {
            addCriterion("details_picture <>", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureGreaterThan(String value) {
            addCriterion("details_picture >", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureGreaterThanOrEqualTo(String value) {
            addCriterion("details_picture >=", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureLessThan(String value) {
            addCriterion("details_picture <", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureLessThanOrEqualTo(String value) {
            addCriterion("details_picture <=", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureLike(String value) {
            addCriterion("details_picture like", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureNotLike(String value) {
            addCriterion("details_picture not like", value, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureIn(List<String> values) {
            addCriterion("details_picture in", values, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureNotIn(List<String> values) {
            addCriterion("details_picture not in", values, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureBetween(String value1, String value2) {
            addCriterion("details_picture between", value1, value2, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andDetailsPictureNotBetween(String value1, String value2) {
            addCriterion("details_picture not between", value1, value2, "detailsPicture");
            return (Criteria) this;
        }

        public Criteria andIsUpIsNull() {
            addCriterion("is_up is null");
            return (Criteria) this;
        }

        public Criteria andIsUpIsNotNull() {
            addCriterion("is_up is not null");
            return (Criteria) this;
        }

        public Criteria andIsUpEqualTo(Boolean value) {
            addCriterion("is_up =", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpNotEqualTo(Boolean value) {
            addCriterion("is_up <>", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpGreaterThan(Boolean value) {
            addCriterion("is_up >", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_up >=", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpLessThan(Boolean value) {
            addCriterion("is_up <", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpLessThanOrEqualTo(Boolean value) {
            addCriterion("is_up <=", value, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpIn(List<Boolean> values) {
            addCriterion("is_up in", values, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpNotIn(List<Boolean> values) {
            addCriterion("is_up not in", values, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpBetween(Boolean value1, Boolean value2) {
            addCriterion("is_up between", value1, value2, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsUpNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_up not between", value1, value2, "isUp");
            return (Criteria) this;
        }

        public Criteria andIsPageIsNull() {
            addCriterion("is_page is null");
            return (Criteria) this;
        }

        public Criteria andIsPageIsNotNull() {
            addCriterion("is_page is not null");
            return (Criteria) this;
        }

        public Criteria andIsPageEqualTo(Boolean value) {
            addCriterion("is_page =", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotEqualTo(Boolean value) {
            addCriterion("is_page <>", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageGreaterThan(Boolean value) {
            addCriterion("is_page >", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_page >=", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageLessThan(Boolean value) {
            addCriterion("is_page <", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageLessThanOrEqualTo(Boolean value) {
            addCriterion("is_page <=", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageIn(List<Boolean> values) {
            addCriterion("is_page in", values, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotIn(List<Boolean> values) {
            addCriterion("is_page not in", values, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageBetween(Boolean value1, Boolean value2) {
            addCriterion("is_page between", value1, value2, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_page not between", value1, value2, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsCarouselIsNull() {
            addCriterion("is_carousel is null");
            return (Criteria) this;
        }

        public Criteria andIsCarouselIsNotNull() {
            addCriterion("is_carousel is not null");
            return (Criteria) this;
        }

        public Criteria andIsCarouselEqualTo(Boolean value) {
            addCriterion("is_carousel =", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselNotEqualTo(Boolean value) {
            addCriterion("is_carousel <>", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselGreaterThan(Boolean value) {
            addCriterion("is_carousel >", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_carousel >=", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselLessThan(Boolean value) {
            addCriterion("is_carousel <", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselLessThanOrEqualTo(Boolean value) {
            addCriterion("is_carousel <=", value, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselIn(List<Boolean> values) {
            addCriterion("is_carousel in", values, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselNotIn(List<Boolean> values) {
            addCriterion("is_carousel not in", values, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselBetween(Boolean value1, Boolean value2) {
            addCriterion("is_carousel between", value1, value2, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsCarouselNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_carousel not between", value1, value2, "isCarousel");
            return (Criteria) this;
        }

        public Criteria andIsJumpIsNull() {
            addCriterion("is_jump is null");
            return (Criteria) this;
        }

        public Criteria andIsJumpIsNotNull() {
            addCriterion("is_jump is not null");
            return (Criteria) this;
        }

        public Criteria andIsJumpEqualTo(Boolean value) {
            addCriterion("is_jump =", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpNotEqualTo(Boolean value) {
            addCriterion("is_jump <>", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpGreaterThan(Boolean value) {
            addCriterion("is_jump >", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_jump >=", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpLessThan(Boolean value) {
            addCriterion("is_jump <", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpLessThanOrEqualTo(Boolean value) {
            addCriterion("is_jump <=", value, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpIn(List<Boolean> values) {
            addCriterion("is_jump in", values, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpNotIn(List<Boolean> values) {
            addCriterion("is_jump not in", values, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpBetween(Boolean value1, Boolean value2) {
            addCriterion("is_jump between", value1, value2, "isJump");
            return (Criteria) this;
        }

        public Criteria andIsJumpNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_jump not between", value1, value2, "isJump");
            return (Criteria) this;
        }

        public Criteria andDisableIsNull() {
            addCriterion("disable is null");
            return (Criteria) this;
        }

        public Criteria andDisableIsNotNull() {
            addCriterion("disable is not null");
            return (Criteria) this;
        }

        public Criteria andDisableEqualTo(Boolean value) {
            addCriterion("disable =", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotEqualTo(Boolean value) {
            addCriterion("disable <>", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableGreaterThan(Boolean value) {
            addCriterion("disable >", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableGreaterThanOrEqualTo(Boolean value) {
            addCriterion("disable >=", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableLessThan(Boolean value) {
            addCriterion("disable <", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableLessThanOrEqualTo(Boolean value) {
            addCriterion("disable <=", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableIn(List<Boolean> values) {
            addCriterion("disable in", values, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotIn(List<Boolean> values) {
            addCriterion("disable not in", values, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableBetween(Boolean value1, Boolean value2) {
            addCriterion("disable between", value1, value2, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotBetween(Boolean value1, Boolean value2) {
            addCriterion("disable not between", value1, value2, "disable");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}